import request from '@/utils/request'
import { otherFiltersItem } from '@/utils'
/**
 * 新增
 * @param {object} data
 * @returns
 */
export function postShopDecoration(data) {
  return request({
    url: '/api/v1/shopDecoration',
    method: 'post',
    data
  })
}
/**
 * 修改
 * @param {object} data
 * @returns
 */
export function putShopDecoration(data) {
  return request({
    url: '/api/v1/shopDecoration',
    method: 'put',
    data
  })
}
/**
 * 根据id查询，多表联查
 * @param {string} id
 * @returns
 */
export function getGetOneByid(id) {
  return request({
    url: `/api/v1/shopColorTask/${id}`,
    method: 'get'
  })
}
/**
 * 资料审核
 * @param {object} data
 * @returns
 */
export function postAudit(data) {
  return request({
    url: `/api/v1/shopColorTask/audit`,
    method: 'post',
    data
  })
}

